package cn.com.jtang.wedding.service;

import java.util.List;
import java.util.Map;

import cn.com.jtang.wedding.model.History;
import cn.com.jtang.wedding.model.Suggestion;

public interface HistoryManager {
	
	//根据历史记录ID查历史记录
	public History queryById(long id);
	
	//添加购买历史记录
	public String add(History history);
	
	//删除购买历史记录
	public int delete(History history);
	
	//删除该ID的购买历史记录
	public int delete(long id);	
	
	public List<History> queryAll(Map<String, Object> map, int start, int end);
	
	public int getCount(Map<String, Object> map);


}
